Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding unit tests #76

Merged
merged 9 commits into from
Dec 4, 2014
Merged

Conversation

dcrissman
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-44.16%) when pulling 63d134e on dcrissman:adding-unit-tests into f6bf2a4 on lightblue-platform:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+9.59%) when pulling d326d10 on dcrissman:adding-unit-tests into 086814c on lightblue-platform:master.

@dcrissman
Copy link
Member Author

Failing because of #80

@dcrissman
Copy link
Member Author

Also failing because of #81

@jewzaam
Copy link
Member

jewzaam commented Nov 14, 2014

Moved to in progress given issues. Until this PR builds successfully with tests it is not ready. An alternative is to remove the broken tests and add them in the PR that includes the fix for the issues noted above.

@dcrissman
Copy link
Member Author

@jewzaam I have disabled the unit tests for the time being so that this PR can be accepted.

@coveralls
Copy link

Coverage Status

Coverage increased (+14.04%) when pulling 4e5ee6d on dcrissman:adding-unit-tests into 086814c on lightblue-platform:master.


String dialect = p.getStringProperty(node, "dialect");
if (dialect == null || dialect.isEmpty()) {
throw com.redhat.lightblue.util.Error.get(RDBMSConstants.ERR_FIELD_REQUIRED, "No field informed");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error is very generic, please indicate what is not set. Could say "Missing field 'dialect'" or something.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added #83 for this, not going to hold up the PR for this.

jewzaam added a commit that referenced this pull request Dec 4, 2014
@jewzaam jewzaam merged commit de32868 into lightblue-platform:master Dec 4, 2014
@dcrissman dcrissman deleted the adding-unit-tests branch December 8, 2014 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants